package org.dfzt.modules.online.cgform.model;

public class TreeModel {
    private String label;
    private String store;

    public void setLabel(String label) {
        this.label = label;
    }

    private String id;
    private String pid;

    public void setStore(String store) {
        this.store = store;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof TreeModel)) return false;
        TreeModel treeModel = (TreeModel) o;
        if (!treeModel.canEqual(this)) return false;
        String str1 = getLabel(), str2 = treeModel.getLabel();
        if ((str1 == null) ? (str2 != null) : !str1.equals(str2)) return false;
        String str3 = getStore(), str4 = treeModel.getStore();
        if ((str3 == null) ? (str4 != null) : !str3.equals(str4)) return false;
        String str5 = getId(), str6 = treeModel.getId();
        if ((str5 == null) ? (str6 != null) : !str5.equals(str6)) return false;
        String str7 = getPid(), str8 = treeModel.getPid();
        return !((str7 == null) ? (str8 != null) : !str7.equals(str8));
    }

    protected boolean canEqual(Object other) {
        return other instanceof TreeModel;
    }

    public String toString() {
        return "TreeModel(label=" + getLabel() + ", store=" + getStore() + ", id=" + getId() + ", pid=" + getPid() + ")";
    }


    public String getLabel() {
        return this.label;
    }


    public String getStore() {
        return this.store;
    }

    public String getId() {
        return this.id;
    }

    public String getPid() {
        return this.pid;
    }
}
